<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'statuscode-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'statuscode'); ?>
		<?php echo $form->textField($model,'statuscode',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'statuscode'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dispatchdate'); ?>
		<?php echo $form->textField($model,'dispatchdate',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'dispatchdate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dispatchtime'); ?>
		<?php echo $form->textField($model,'dispatchtime',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'dispatchtime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'timeon'); ?>
		<?php echo $form->textField($model,'timeon',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'timeon'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'timeoff'); ?>
		<?php echo $form->textField($model,'timeoff',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'timeoff'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'transfer'); ?>
		<?php echo $form->textField($model,'transfer',array('size'=>4,'maxlength'=>4)); ?>
		<?php echo $form->error($model,'transfer'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'leave'); ?>
		<?php echo $form->textField($model,'leave',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'leave'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'setassign'); ?>
		<?php echo $form->textField($model,'setassign',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'setassign'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'setunassign'); ?>
		<?php echo $form->textField($model,'setunassign',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'setunassign'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'complcode'); ?>
		<?php echo $form->textField($model,'complcode',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'complcode'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'order'); ?>
		<?php echo $form->textField($model,'order',array('size'=>4,'maxlength'=>4)); ?>
		<?php echo $form->error($model,'order'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mobile'); ?>
		<?php echo $form->textField($model,'mobile'); ?>
		<?php echo $form->error($model,'mobile'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'statusbillable'); ?>
		<?php echo $form->textField($model,'statusbillable'); ?>
		<?php echo $form->error($model,'statusbillable'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->